package com.zhiyou100.serice;

import com.zhiyou100.model.Course;
import com.zhiyou100.model.Speaker;

import java.util.List;

public interface CourseService {
    List<Course> findAll();

    Course findById(Integer id);

    void update(Course course);

    void add(Course course);

    void delete(Integer id);

    List<Course> findBySubjectId(Integer id);
}
